package com.carleasoft.mps.adu.business.user.bean.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>Description: userType 用户类型实体类</p>
 * @since 2020-04-28
 * @author ztm
 */
@TableName("m_authority_user_type")
@Data
public class AuthorityUserTypeEntity {
    /**
     * 主键id
     */
    @TableId(value = "ID",type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "分类业务编码")
    @TableField("USER_TYPE_NUMBER")
    private String userTypeNumber;
    /**
     * 用户类型编码
     */
    @TableField(value="USER_TYPE_CODE")
    private String userTypeCode;
    /**
     * 用户类型名称
     */
    @TableField(value="USER_TYPE_NAME")
    private String userTypeName;

    /**
     * 备注
     */
    @TableField(value="REMARK")
    private String remark;

    @TableField(value = "CREATE_PERSON_CODE",fill = FieldFill.INSERT)
    private String createPersonCode;

    @TableField(value = "CREATE_PERSON_NAME",fill = FieldFill.INSERT)
    private String createPersonName;

    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "UPDATE_PERSON_CODE",fill = FieldFill.UPDATE)
    private String updatePersonCode;

    @TableField(value = "UPDATE_PERSON_NAME",fill = FieldFill.UPDATE)
    private String updatePersonName;

    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

}
